﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace 代码生成器基础
{
    class Program
    {
        static void Main(string[] args)
        {
            //string s1 = @"c:\aa";
            //string s2 = "a.jpg";
            //string s3 = Path.Combine(s1, s2);
            //Console.WriteLine(s3);
            //Console.ReadKey();

            //创建文件夹
            //把第二个参数写到一个文件里面
            File.WriteAllText(@"c:\1.txt", "hello");
            
            Console.ReadKey();
        }

        
    }
}
